<{include file="file:$xoops_rootpath/modules/scuttle/admin/templates/scuttle_header.html"}>

<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
<{if count($tag_array) gt 0}>
	<table width='100%' class='outer' cellspacing='1' cellpadding='3' border='0' >
	<tr>
	<th>
		<{$smarty.const._AD_SC_TAGS_TAG}><br />
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.SC_SORT_KEY_TAG}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.SC_SORT_KEY_TAG}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
	</th>
	<th width='100'>
		<{$smarty.const._AD_SC_TAGS_COUNT}><br />
		<a href="<{$sortNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.SC_SORT_KEY_COUNT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
		<a href="<{$sortNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.SC_SORT_KEY_COUNT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
	</th>
	<th width='120'><{$smarty.const._AD_SC_ACTION}></th>
	</tr>
<{foreach item=tag from=$tag_array}>
	<tr class="<{cycle values="even, odd"}>">
	<td><{$tag.tag_word}></td>
	<td align='center'><{$tag.tag_count}></td>
	<td align='center'>
		<a href='index.php?action=TagsEdit&amp;tag=<{$tag.tag_word}>'><{$smarty.const._AD_SC_EDIT}></a>&nbsp;&nbsp;
		<a href='index.php?action=TagsDelete&amp;tag=<{$tag.tag_word}>'><{$smarty.const._AD_SC_DELETE}></a>
	</td>
	</tr>
<{/foreach}>
	</table>
<{/if}>
<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
